package net.jueb.sniff4j.impl.http.base;

import java.util.HashMap;

import net.jueb.sniff4j.extr.auth.AddressCollection;
import net.jueb.sniff4j.extr.auth.Users;
import net.jueb.sniff4j.extr.base.AbstractRuntime;
import net.jueb.sniff4j.extr.base.AbstractChannelCodecInit;
import net.jueb.sniff4j.extr.base.BootConfig;
import net.jueb.sniff4j.extr.base.ServerContext;
import net.jueb.sniff4j.extr.base.UserContext;
import net.jueb.sniff4j.impl.http.user.HttpUser;

public class HttpRuntime extends AbstractRuntime{
	
	@Override
	public AbstractChannelCodecInit getChannelCodecInit() {
		// TODO Auto-generated method stub
		return new HttpChannelCodecInit();
	}
	@Override
	protected void initAllowUsers(Users allowUsers) {
		getAllowUsers().addUser(new HttpUser("test","test"));
	}
	@Override
	protected void initRefuseClients(AddressCollection refuseClients) {
		// TODO Auto-generated method stub
		
	}
	@Override
	protected void initRefuseProxyTargets(AddressCollection refuseProxyTargets) {
		// TODO Auto-generated method stub
		
	}

	@Override
	protected void initServerContext(ServerContext serverConext) {
		// TODO Auto-generated method stub
		
	}
	@Override
	protected void initBootConfig(BootConfig bootConfig) {
		// TODO Auto-generated method stub
	}
	@Override
	protected void initUsersContexts(HashMap<String, UserContext> usersContexts) {
		// TODO Auto-generated method stub
		
	}
}
